package com.ucw.ucwclient.dal.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.ucw.ucwclient.dal.dataobject.SchoolBanner;

@Repository
public interface SchoolBannerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SchoolBanner record);

    int insertSelective(SchoolBanner record);

    SchoolBanner selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(SchoolBanner record);

    int updateByPrimaryKey(SchoolBanner record);

	List<SchoolBanner> selectBySchoolId(@Param("schoolId")int schoolId);
}